<script type="text/javascript">
		$(function(){
			//退出
			$("#logout").click(function(){
				jQuery.get("/Wyn/login/logout",function(data){
					if(data == "true"){
						window.location="/Wyn/login/input";
					}
				});
			});
			//个人主页tab
			$("#proTabFeedId_").click(function(){
				var $li = $(this).parent();
				$li.addClass("current");
				$li.siblings().removeClass("current");
				jQuery.get("/Wyn/profile_tab/go_profile_tab",
					function(data){
						$("#ajaxContainer").html(data);
					});
			});
			//资料
			$("#proTabInfoId_").click(function(){
				var $li = $(this).parent();
				$li.addClass("current");
				$li.siblings().removeClass("current");
				jQuery.get("/Wyn/user_detail/getUserDetail",
					function(data){
						$("#ajaxContainer").html(data);
					});
			});
			//日志
			$("#pBlog").click(function(){
				var $li = $(this).parent();
				$li.addClass("current");
				$li.siblings().removeClass("current");
				jQuery.get("/Wyn/blog/goBlog",
					function(data){
						$("#ajaxContainer").html(data);
					});
			});
			//相册
			$("#pAlbum").click(function(){
				var $li = $(this).parent();
				$li.addClass("current");
				$li.siblings().removeClass("current");
				jQuery.get("/Wyn/album/goAlbum",
					function(data){
						$("#ajaxContainer").html(data);
					});
			});
		});
	</script>
<div class="full-page-holder">
	<div class="col-full">
		<div class="status-holder">
			<h1 class="username">${Session.user.realName}</h1>
			<span class="count">(有<span class="count">${ud.visitCount}</span>人看过)</span>
			<span id="status-show" class="user-status">
				  <#if ud.status == "">
					  <span id="currentStatus" class="status">什么都没做……</span>
				  <#else>
				      <span id="currentStatus" class="status">${ud.status}(${fmUtil.formatTime(ud.statusCreateTime)})</span>
				  </#if>
				  <span class="pipe">|</span>
				  <span class="more">
				  	<a stats="pf_tab_status" href="" class="edit">所有状态</a>
				  </span>
			</span>
		</div>
		<div class="tabs-holder">
			<div class="rich-tabs clearfix">
				<ul class="tabpanel clearfix">
					<li><a stats="pf_tab_index" id="proTabFeedId_"
						onfocus="this.blur();"
						href="#logo">个人主页</a></li>
					<li><a stats="pf_tab_info" id="proTabInfoId_"
						onfocus="this.blur();" href="#nogo">资料</a></li>
					<li><a stats="pf_tab_note" id="pBlog" onfocus="this.blur();"
						href="#nogo">日志</a></li>
					<li><a stats="pf_tab_album" id="pAlbum" onfocus="this.blur();"
						href="#nogo">相册</a></li>
				</ul>
			</div>
		</div>
	</div>
	<div id="ajaxContainer" class="cols clearfix"></div>
</div>

